import { createRouter, createWebHashHistory } from 'vue-router';

const router = createRouter({
  history: createWebHashHistory(),
  routes: [
    {
      path: '/',
      component: () => import('../views/Layout/index.vue'),
      children: [
        { path: '/', component: () => import('../views/Home/index.vue') },
      ],
    },
    {
      path: '/login',
      component: () => import('../views/Login/index.vue'),
    },
    {
      path: '/test',
      component: () => import('../views/Test/index.vue'),
    },
  ],
});

export default router;
